package com.gong.DesignPattern.factoryPattern.factoryMethod;

import com.gong.DesignPattern.factoryPattern.simpleFactory.Iphone;
import com.gong.DesignPattern.factoryPattern.simpleFactory.Phone;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/8 0008 9:03
 */
public class IphoneFactory extends AbstractFactory {
    @Override
    public Phone created() {
        return new Iphone();
    }
}
